Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Dec 22, 2025

Using a method in a extension of non-public protocol to witness a public protocol requirement is not allowed in future version of Swift and is diagnosed as a warning in the current main.

Make GenericParameterScopeSyntax a @_spi(Experimetnal) public the same accessibility as the concrete type.

Fixes build failures e.g. https://github.com/swiftlang/swift-syntax/actions/runs/20438687858/job/58726284454#step:14:31
since we're building it with -warnings-as-errors

Using a method in a extension of non-public protocol to witness a
public protocol requirement is not allowed in future version of Swift
and is diagnosed as a warning in the current main.

Make `GenericParameterScopeSyntax` a `@_spi(Experimetnal public)` the
same accessibility as the concrete type.
@rintaro
Copy link
Member Author

rintaro commented Dec 22, 2025

@swift-ci Please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants